package com.repair.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改区域参数对象")
public class AreaUpdateForm {
    @ApiModelProperty("修改的区域id")
    @NotNull(message = "修改的区域id不能为空")
    @Min(value = 0,message = "修改的区域id不能小于0")
    private Integer areaId;
    @ApiModelProperty("修改后的区域名字")
    @NotNull(message = "修改后的区域名字不能为空")
    private String areaName;
}
